Class: ActivationView

ActivationView()

Displays feature maps with activation values encoded in red/blue color scheme. Lets user select channel to optimize for.

Constructor

new ActivationView()

Source:

Members

onResize

Resize event action.
Source:

Methods

calculateSquareLayout()

Calculates square layout params according to current square width.
Source:

createBaseSquare(scene)

Creates square geometry that gets instanced for feature map representations and its shader.
Parameters:
Name Type Description
scene *
Source:

getHoveredSquare(x, y)

Returns square index of square beneath mouse cursor.
Parameters:
Name Type Description
x *
y *
Source:

updateAndRender()

Calls methods that update scene state and then renders.
Source:

updateSquares()

Updates square instances according to current required number.
Source:

updateTexture()

Creates or updates BabylonJS texture width feature map activation data.
Source:

updateUniforms()

Updates shader uniforms.
Source:

updateYPos()

Calculates y position for camera.
Source:

yOffset()

Calculates y offset of view depending on scroll position.
Source: